Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: cache /api/v0/preferences and attribute_groups #10341

Merged
merged 2 commits into from
May 23, 2024

Conversation

stephanegigandet
Copy link
Contributor

This PR sets the Cache-Control: public, max-age=86400 on responses for API /api/v0/preferences and /api/v0/attribute_groups (requested on all web pages for Personal Search). It also fixes the JS so that we don't load /api/v0/preferences twice.

Related: #8957

@stephanegigandet stephanegigandet enabled auto-merge (squash) May 23, 2024 12:35
Copy link

sonarcloud bot commented May 23, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@stephanegigandet stephanegigandet merged commit 8134720 into main May 23, 2024
12 checks passed
@stephanegigandet stephanegigandet deleted the cache-preferences branch May 23, 2024 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants